import createAxios from '/@/utils/axios'

export const apiUrl = '/api/ai.pay'

export function payment(params: any) {
    return createAxios({
        url: apiUrl + '/payment',
        method: 'post',
        data: params,
    })
}

// 查询
export function query(params: any) {
    return createAxios({
        url: apiUrl + '/query',
        method: 'get',
        params: params,
    }, {
        showCodeMessage: false,
    })
}
